#ifndef _SNOWFLAKE_H__
#define _SNOWFLAKE_H__

#include<stdint.h>



class SnowFlake
{
public:
	SnowFlake(uint8_t serverid) :_step(0) ,
								_serverid(serverid){};
	~SnowFlake() =default ;

public:
	 uint64_t Generate();

private:
	uint8_t _step;
	uint8_t _serverid;
};

#endif // !_SNOWFLAKE_H__


